package com.zzyl.nursingProject.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 护理项目对象 nursing_project
 *
 * @author yezude
 * @date 2025-01-01
 */

@Data
@ApiModel(description = "护理项目对象")
public class NursingProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称",required = true)
    private String name;

    /** 排序号 */
    @Excel(name = "排序号")
    @ApiModelProperty(value = "排序号",required = true)
    private Integer orderNo;

    /** 单位 */
    @Excel(name = "单位")
    @ApiModelProperty(value = "单位",required = true)
    private String unit;

    /** 价格 */
    @Excel(name = "价格")
    @ApiModelProperty(value = "价格",required = true)
    private BigDecimal price;

    /** 图片 */
    @Excel(name = "图片")
    @ApiModelProperty(value = "图片",required = true)
    private String image;

    /** 护理要求 */
    @Excel(name = "护理要求")
    @ApiModelProperty(value = "护理要求")
    private String nursingRequirement;

    /** 状态（0：禁用，1：启用） */
    @Excel(name = "状态", readConverterExp = "0=：禁用，1：启用")
    @ApiModelProperty(value = "0：禁用，1：启用",required = true)
    private Long status;


    /** 状态（"0=：未删除，1：已删除"） */
    @Excel(name = "是否删除", readConverterExp = "0=：未删除，1：已删除")
    @ApiModelProperty(value = "0=：未删除，1：已删除",required = true)
    @TableLogic(value = "0",delval = "1")
    private Long deleted;
}
